// VIP信息模拟数据
const vipInfoData = {
  code: 0,
  message: '获取成功',
  data: {
    inviteCode: 'BT78901',
    qrCodeUrl: 'https://images.unsplash.com/photo-1613628413661-a6b5c5943419?q=80&w=400&auto=format&fit=crop',
    isVip: true,
    vipLevel: 2
  }
};

// 邀请任务状态模拟数据
const inviteTasksData = {
  code: 0,
  message: '获取成功',
  data: [
    {
      id: 1,
      target: 10,
      current: 12,
      reward: '10U',
      completed: true
    },
    {
      id: 2,
      target: 20,
      current: 18,
      reward: '20U',
      completed: false
    },
    {
      id: 3,
      target: 30,
      current: 8,
      reward: '30U',
      completed: false
    },
    {
      id: 4,
      target: 50,
      current: 5,
      reward: '50U',
      completed: false
    }
  ]
};

// 分享邀请码模拟数据
const shareInviteCodeData = {
  code: 0,
  message: '分享成功',
  data: {
    shareUrl: 'https://example.com/invite?code=BT78901'
  }
};

// 加入VIP模拟数据
const joinVipData = {
  code: 0,
  message: '加入成功',
  data: {
    isVip: true,
    vipLevel: 1
  }
};

export default {
  'get|/api/vip/info': vipInfoData,
  'get|/api/vip/tasks': inviteTasksData,
  'post|/api/vip/share': shareInviteCodeData,
  'post|/api/vip/join': joinVipData
};
